#ifndef __OLED_H
#define __OLED_H
#include "sys.h"
#include "iic.h"
#include "delay.h"


void oled_init(void);
void oled_write_cmd(uint8_t data);
void oled_write_data(uint8_t data);
void oled_set_cursor(uint8_t x, uint8_t y);
void oled_fill(uint8_t val);
void oled_show_char(uint8_t x, uint8_t y, char data, uint8_t high);
void oled_show_string(uint8_t x, uint8_t y, char *data, uint8_t high);
void oled_show_chinese_char(uint8_t x, uint8_t y, uint8_t index, uint8_t high);
void oled_show_chinese_string(uint8_t x, uint8_t y, uint8_t s_index, uint8_t e_index, uint8_t high);
void oled_show_picture(void);

#endif
